//
//  LeftCell.h
//  当当网
//
//  Created by app12 on 15/7/19.
//  Copyright (c) 2015年 孙萍. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol LeftViewCellDelegate <NSObject>

-(void)changeChoice:(NSInteger)tag;

@end

@class LeftCellModel;
@interface LeftViewCell : UIView

@property (nonatomic,strong)LeftCellModel* cellModel;
@property(nonatomic,weak)id<LeftViewCellDelegate>delegate;
//种类名
@property (weak, nonatomic) IBOutlet UIButton *nameBtn;
//红色标记
@property (weak, nonatomic) IBOutlet UIView *redImage;

- (IBAction)chooseCategorys:(id)sender;

+(instancetype)leftViewCell;

- (void)setSelected:(BOOL)selected tag:(NSInteger)tag;

@end
